﻿using Newtonsoft.Json;

namespace Missbot.Model.MsgCmds.Messaging
{
    public class CreateUserMessageCmd : IMsgCommand
    {
        protected override string API => "messaging/messages/create";

        [JsonProperty("userId")]
        public string UserID { get; set; }
        
        [JsonProperty("text")]
        public string Text { get; set; }
    }
    
    public class CreateUserMessageWithFileCmd : CreateUserMessageCmd
    {
        /// <summary>
        /// 文件ID
        /// </summary>
        [JsonProperty("fileId")]
        public string FileID { get; set; }
    }
}